home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 7: Sunsite / Linux Cubed Series 7 - Sunsite Vol 1.iso / system / admin / accounts / adduser.000 / adduser / adduser.shadow.1.5 / README < prev    next >
Text File  |  1996-05-10  |  6KB  |  144 lines

  1. Adduser-1.5 5/26/96
  2. ------------------------------------------------------------
  3.  
  4. Just made it ask for your password twice.
  5. Sometimes I would type in a users password and accidentally hit another key
  6. before hitting return, then the user would call saying that there password
  7. would not work.
  8. Plus made the Makefile a bit better.
  9.  
  10. David L Robinson
  11. drobinso@nrg.com.au
  12.  
  13.  
  14. Adduser-1.4 (again again?) 6/27/95
  15. -------------------------------------------------------------
  16.  
  17. I just installed the shadow passwd suite on my system, and used this
  18. adduser.shadow.1.3, but noticed a few things missing, and that it wasn't
  19. Slackware friendly.  So, now the default shell is /bin/bash, the person's
  20. directory is chmod 700 (we wouldn't want other ppl in there now would we? ;-)
  21. the home dir is /home, and it creates the mail folders and also takes
  22. stuff and puts it in the person's dir from the /etc/skel.  Also 'make 
  23. install' puts it in the directories.
  24.  
  25. Greg Gallagher
  26. CIN.Net
  27.  
  28.  
  29. Adduser-1.3 (again....) 1/28/95
  30. ------------------------------------------------------------
  31.  
  32. Ok, fixed the bug in the default values.. everything _should_ work
  33. ok now, but no garuantees.  Thanx to Terry Stewart for bugfix help.
  34.  
  35.                 Brandon
  36.  
  37. Adduser-1.2f (Photon again) 1/27/95
  38. -------------------------------------------------------------
  39. Sorry, I messed up on 1.2.
  40.  
  41. If you just press enter on the default values for the expiry
  42. options (Min/Max Days for password change, Warning Days, and
  43. invalidate password days), they don't get set to the default
  44. values correctly.  Its some little quirk, I saw it about 5 minutes
  45. after uploading 1.2, and I'm too tired to fix it.  Just be _SURE_
  46. that you actually type in values for these fields, and don't press
  47. enter and accept the default, and all will go well.  Unless someone
  48. fixes it sooner, I'll put out a 1.3 tommorow that fixes this.
  49.  
  50.                 Sorry,
  51.                     Brandon
  52.  
  53.  
  54. Adduser-1.2 Hacked from 1.0 by Brandon (Photon) 1/27/95
  55. --------------------------------------------------------------
  56. photon@usis.com
  57.  
  58. Just a hack.  This version of shadow-adduser has a lot better support
  59. for shadow password files, and no support for the normal ones.
  60. The way i see it, why would you FTP, Compile, and Install a package
  61. called "shadow-adduser" if you don't have shadowed passwd files?
  62.  
  63. The details of my additions, which are basically addition of the
  64. correct password aging fields, expiry fields, and all that crap,
  65. are in the C code (uhh... adduser.c if you can't figure that out)...
  66.  
  67. I just improved on existing code..... main authors (and the entire
  68. original README) are below.  Everything they say below still applies.
  69.  
  70.                     Brandon
  71.  
  72.  
  73. Adduser-1.0 by Craig Hagan (Modified a lot by Chris Cappuccio)
  74. --------------------------------------------------------------
  75. craig@opine.cs.umass.edu -/- chris@slinky.cs.umass.edu
  76.  
  77. Yet another quick and dirty hack, like the original (not error tested
  78. very much, it should work pretty good unless you fuck with it.)
  79.  
  80. For SunOS 4 & Linux (I know it runs OK under Linux, from the looks of it
  81. it should run with no problems on a Sun, who knows)
  82.  
  83. What does it do?
  84.  
  85. 0- Finds out if you are root, looks for shadow password files (we don't
  86.    support shadow, bitch if it's found), looks for SunOS NIS, and maybe
  87.    it does a few other things I forgot about... (chris)
  88. 1- Asks you for username and information on your new user
  89. 2- Makes the user's home directory and entry in password file
  90. 3- Gives them ownership of their home directory.
  91.  
  92. In this directory should be:
  93.  
  94. README      :  this file
  95. Makefile  :  the makefile to make adduser
  96. adduser.c :  the source code for our magic utility
  97. xfdes.c      :  the source for fcrypt()
  98. xfdes.h   :  structures/defines for xfdes.c
  99.  
  100. type make adduser to make the standard version, make nocrypt
  101. if you have no crypt() in your libc (strange things can happen
  102. when politics are involved)
  103.  
  104. Modifications since craig's adduser (chris)
  105. -----------------------------------
  106.  
  107. 0- Cleaned up that messy code to see if a username
  108.    was already in use. Getpw functions are pretty nice :)
  109. 1- Added a small routine to check for unused uid's, so you
  110.    don't have to bitch around with passwd and find one yourself.
  111. 2- Made it look nicer
  112. 3- Added routines to find out if we are root, if shadow password
  113.    files are present, and also to check for yellow pages (/var/yp)
  114.    and if found remind the person to make passwd under /var/yp
  115.    after the user is made.
  116. 4- Took out crypt.o that pretty much didn't work if you had no libufc
  117.    and put in a GPLed fcrypt from Killer Cracker.
  118. 5- Fixed Makefile and made changes to adduser for people who are using
  119.    the included fcrypt instead of libc crypt. (-DNO_CRYPT)
  120.  
  121. What would I like but never get around to doing  (chris)
  122. -----------------------------------------------
  123.  
  124. 0- How about some command line options that match those of useradd
  125.    that comes with shadow?
  126. 1- Some error checking, please. Usernames can't begin with -,
  127.    can't be more then 8 chars long, etc..etc..etc... Change little
  128.    things so that they match unix standards (if the idiot who invoked
  129.    adduser gave a shell 400 characters long, it will ruin /etc/passwd
  130.    cuz it can only be like 32 chars long,  blah..)
  131. 2- A moduser utility like usermod that comes with shadow...
  132. 3- /usr/skel may hold valueable files, I don't use it so I didn't
  133.    include it.
  134.  
  135. Modifications since craig's/chris' adduser by Dan
  136. -----------------------------------
  137.  
  138. 0- Shadow passwds are now support.  It's a quick and dirty hack.  I didn't
  139.    even bother attempting to fix the original code.  Some day, I'll
  140.    recode this "safely."  ie: Mail me if you want something 
  141.  
  142. dcrowson@mo.net (Dan Crowson) 
  143.  
  144.